package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.Topic;
import com.zhijian.medical.entity.vo.request.TopicSearchVo;
import com.zhijian.medical.entity.vo.response.TopicVo;

import java.util.List;

public interface TopicMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Topic record);

    int insertSelective(Topic record);

    Topic selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Topic record);

    int updateByPrimaryKey(Topic record);

    int count(TopicSearchVo topicSearchVo);

    List<TopicVo> selectList(TopicSearchVo topicSearchVo);

    TopicVo selectVoById(Long id);
}